//package com.hrc.springbootdemo.datasouce;
//
//import jakarta.annotation.Resource;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//
//import java.sql.SQLException;
//
//@RestController
//@RequestMapping("/datasource")
//@Slf4j
//public class DataSourceController {
//    @Resource
//    private MyDataSource myDataSource;
//
//    @GetMapping("/test")
//    public Object test() throws SQLException {
//        return myDataSource.test();
//    }
//}
